home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / ab20 / unarced / graphics / amigajpeg-2 / amiga-note < prev    next >
Text File  |  1995-03-17  |  3KB  |  99 lines

  1.  
  2. Here are the Independent JPEG Group jpeg compress and decompressor (version 2),
  3. compiled for the Amiga with with SAS/C 5.10a.
  4.  
  5. files:
  6.     AMIGA-NOTE - this file
  7.     README     - original JPEG source package readme file
  8.     cjpeg     - jpeg compressor executable
  9.     djpeg     - jpeg decompressor executable
  10.     cjpeg020 - jpeg compressor optimized for 68020 and higher processors.
  11.     djpeg020 - jpeg decompressor optimized for 68020 and higher proc.
  12.  
  13. extensions to the original:
  14.  
  15.  cjpeg can read IFF ILBM files, including HAM and 24-bit ILBM.
  16.  
  17.  djpeg can directly produce IFF ILBM output, including 24-bit,
  18.  4-bit grayscale and HAM.
  19.  
  20.  Quantized ILBM pictures (-q option) don't look good because of the single
  21.  pass color quantization algorithm used (same problem with GIF files).
  22.  
  23.  Also, HAM conversion uses a really simple algorithm, and may not look
  24.  very good (of course depending on the picture).
  25.  
  26.  If you want high quality output, use either PPM (default) or 24-bit ILBM
  27.  output and then convert with for example ADPRO (commercial) or wasp.
  28.  (note: wasp reads both PPM and 24-bit ILBM format, but djpeg (this version)
  29.  writes PPM files faster than ILBM files)
  30.  
  31.  You can also use 24-bit ILBM output with cards/devices such as HAM-E,
  32.  DCTV, Video Toaster, GVP Impact Vision etc.
  33.  
  34. usage:
  35.  
  36.  compressor:
  37.  
  38.   cjpeg [-Q quality] [-o] [-T] [-d] source-file destination-file
  39.  
  40.  the optional quality parameter affects compressed file size and picture
  41.  quality (the amount 'loss' of information in the compression)
  42.  range is 0 to 100, default is 75.
  43.  
  44.  source file can be GIF, PPM, Targa or ILBM format (including HAM
  45.  and 24-bit ILBM). destination will be, of course, in JPEG JFIF format.
  46.  
  47.  other options:
  48.  
  49.   -T    Targa input file mode.
  50.  
  51.   -o    optimize entropy encoding parameters.
  52.  
  53.   -d    debug mode.
  54.  
  55.  
  56.  decompressor:
  57.  
  58.   djpeg [-b] [-q colors] [-D] [-g] [-G] [-T] [-I] [-H] [-d] source-file dest-file
  59.  
  60.  options:
  61.  
  62.   -b -    cross-block smoothing. may increase image quality with pictures
  63.     compressed with high -Q values.
  64.  
  65.   -q colors quantize the colors and generate a file with the given amount
  66.     of colors. note that a single pass quantization algorithm is used,
  67.     resulting in non-optimal image quality.
  68.  
  69.   -D    do not use dithering in quantization (changed from previous version).
  70.  
  71.   -g    generate grayscale image.
  72.  
  73.   -G    select GIF output file format.
  74.  
  75.   -T    select Targa output file format
  76.  
  77.   -I    select IFF ILBM output file format. if this is selected with -q,
  78.     a normal ILBM file will be created; with -g, a grayscale 4-bitplane
  79.     ILBM image will be created; otherwise, a 24-bit ILBM file format
  80.     will be used.
  81.  
  82.   -H    select IFF ILBM HAM output file format. this uses a simple
  83.     algorithm resulting in non-optimal image quality. 
  84.  
  85.   -d    debug mode.
  86.  
  87.  output file will be in raw PPM format if no other options are given.
  88.  source file must be in JPEG JFIF format (naturally...)
  89.  
  90. authors:
  91.  
  92.  Original JPEG compressor/decompressor software is the work of Tom Lane,
  93.  Philip Gladstone, Luis Ortiz, and other members of the independent JPEG
  94.  group.
  95.  
  96.  This port was done by Timo Rossi (email: trossi@jyu.fi)
  97.  (original v2 SAS/C makefile by Ed Hanway (sisd!jeh@uunet.uu.net))
  98.  
  99.